<!DOCTYPE html>
<html lang="es">
	
<!-- Mirrored from diliat.in/themeforest/sentir/1.1.0/element-validation.html by HTTrack Website Copier/3.x [XR&CO'2013], Fri, 04 Jul 2014 16:53:47 GMT -->
<head>
		
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="Sentir, Responsive admin and dashboard UI kits template">
		<meta name="keywords" content="admin,bootstrap,template,responsive admin,dashboard template,web apps template">
		<meta name="author" content="Ari Rusmanto, Isoh Design Studio, Warung Themes">
		<title>Sistema de Evaluacion de Desempeño de Personal</title>
 		<link  href="<?php echo base_url()?>favicon.png" rel="shortcut icon"  type="image/png" size="64x64"  />

 		<!-- BOOTSTRAP CSS (REQUIRED ALL PAGE)-->
		<link href="<?php echo base_url()?>/css/bootstrap.min.css" rel="stylesheet">
		
		
		<!-- PLUGINS CSS -->
		<link href="<?php echo base_url()?>/plugins/weather-icon/css/weather-icons.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/prettify/prettify.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/magnific-popup/magnific-popup.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/owl-carousel/owl.carousel.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/owl-carousel/owl.theme.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/owl-carousel/owl.transitions.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/chosen/chosen.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/icheck/skins/all.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/datepicker/datepicker.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/timepicker/bootstrap-timepicker.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/validator/bootstrapValidator.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/summernote/summernote.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/markdown/bootstrap-markdown.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/datatable/css/bootstrap.datatable.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/morris-chart/morris.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/c3-chart/c3.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/slider/slider.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/salvattore/salvattore.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/toastr/toastr.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/fullcalendar/fullcalendar/fullcalendar.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/plugins/fullcalendar/fullcalendar/fullcalendar.print.css" rel="stylesheet" media="print">
		 
		<!--  <link href="<?php echo base_url()?>/plugins/formvalidation/formValidation.min.css" rel="stylesheet">-->
		
		
		<!-- MAIN CSS (REQUIRED ALL PAGE)-->
		<link href="<?php echo base_url()?>/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/css/style.css" rel="stylesheet">
		<link href="<?php echo base_url()?>/css/style-responsive.css" rel="stylesheet">
 
 		<!-- KENDO CSS (FOR SELECT ELEMENTS)-->
   		<link href="<?php echo base_url()?>css/kendo.common.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url()?>css/kendo.bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url()?>css/kendo.dataviz.bootstrap.min.css" rel="stylesheet" type="text/css" />

		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->		

		<!--

        ===========================================================
        Placed at the end of the document so the pages load faster
        ===========================================================
        -->
        <!-- MAIN JAVASRCIPT (REQUIRED ALL PAGE)-->
        <script src="<?php echo base_url()?>/js/jquery.min.js"></script>
        <script src="<?php echo base_url()?>/js/bootstrap.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/retina/retina.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/nicescroll/jquery.nicescroll.js"></script>
        <script src="<?php echo base_url()?>/plugins/slimscroll/jquery.slimscroll.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/backstretch/jquery.backstretch.min.js"></script>
 
        <!-- PLUGINS -->
        <script src="<?php echo base_url()?>/plugins/skycons/skycons.js"></script>
        <script src="<?php echo base_url()?>/plugins/prettify/prettify.js"></script>
        <script src="<?php echo base_url()?>/plugins/magnific-popup/jquery.magnific-popup.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/owl-carousel/owl.carousel.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/chosen/chosen.jquery.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/icheck/icheck.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/datepicker/bootstrap-datepicker.js"></script>
        <script src="<?php echo base_url()?>/plugins/timepicker/bootstrap-timepicker.js"></script>
        <script src="<?php echo base_url()?>/plugins/mask/jquery.mask.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/validator/bootstrapValidator.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/datatable/js/jquery.dataTables.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/datatable/js/bootstrap.datatable.js"></script>
        <script src="<?php echo base_url()?>/plugins/summernote/summernote.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/markdown/markdown.js"></script>
        <script src="<?php echo base_url()?>/plugins/markdown/to-markdown.js"></script>
        <script src="<?php echo base_url()?>/plugins/markdown/bootstrap-markdown.js"></script>
        
        <script src="<?php echo base_url()?>/plugins/slider/bootstrap-slider.js"></script>
        <script src="<?php echo base_url()?>/plugins/slider/bootstrap-slider.js"></script>
        <script src="<?php echo base_url()?>/plugins/toastr/toastr.js"></script>

    	 <script src="<?php echo base_url()?>/plugins/formvalidation/formValidation.min.js"></script>
         <script src="<?php echo base_url()?>plugins/formvalidation/framework/bootstrap.min.js"></script>    
    

        <!-- FULL CALENDAR JS -->
        <script src="<?php echo base_url()?>/plugins/fullcalendar/lib/jquery-ui.custom.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/fullcalendar/fullcalendar/fullcalendar.min.js"></script>
        <script src="<?php echo base_url()?>/js/full-calendar.js"></script>
        
         <!-- KENDo JS -->
		<script src="<?php echo base_url()?>js/kendo.all.min.js" type="text/javascript"></script>
        
        <!-- EASY PIE CHART JS -->
        <script src="<?php echo base_url()?>/plugins/easypie-chart/easypiechart.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/easypie-chart/jquery.easypiechart.min.js"></script>
        
        <!-- KNOB JS -->
        <!--[if IE]>
        <script type="text/javascript" src="<?php echo base_url()?>/plugins/jquery-knob/excanvas.js"></script>
        <![endif]-->
        <script src="<?php echo base_url()?>/plugins/jquery-knob/jquery.knob.js"></script>
        <script src="<?php echo base_url()?>/plugins/jquery-knob/knob.js"></script>

        <!-- FLOT CHART JS -->
        <script src="<?php echo base_url()?>/plugins/flot-chart/jquery.flot.js"></script>
        <script src="<?php echo base_url()?>/plugins/flot-chart/jquery.flot.tooltip.js"></script>
        <script src="<?php echo base_url()?>/plugins/flot-chart/jquery.flot.resize.js"></script>
        <script src="<?php echo base_url()?>/plugins/flot-chart/jquery.flot.selection.js"></script>
        <script src="<?php echo base_url()?>/plugins/flot-chart/jquery.flot.stack.js"></script>
        <script src="<?php echo base_url()?>/plugins/flot-chart/jquery.flot.time.js"></script>

        <!-- MORRIS JS -->
        <script src="<?php echo base_url()?>/plugins/morris-chart/raphael.min.js"></script>
        <script src="<?php echo base_url()?>/plugins/morris-chart/morris.min.js"></script>
        
        <!-- C3 JS -->
        <script src="<?php echo base_url()?>/plugins/c3-chart/d3.v3.min.js" charset="utf-8"></script>
        <script src="<?php echo base_url()?>/plugins/c3-chart/c3.min.js"></script>
        
        <!-- VALIDATOR EXAMPLE -->
        <script src="<?php echo base_url()?>/plugins/validator/example.js"></script>
        
        <!-- MAIN APPS JS -->
        <script src="<?php echo base_url()?>/js/apps.js"></script>
        <script src="<?php echo base_url()?>/js/demo-panel.js"></script>
        <script src="<?php echo base_url()?>/js/funciones.js"></script>
        
		<script type="text/javascript">
			function base_url() {
				return "<?php echo base_url(); ?>"
			}
		</script>
		


	</head>
 
	<body class="tooltips" style="display:none" id="body">
			
		<!--
		===========================================================
		BEGIN PAGE
		===========================================================
		-->
		<div class="wrapper">
			<!-- BEGIN TOP NAV -->
			<div class="top-navbar">
				<div class="top-navbar-inner">
					
					<!-- Begin Logo brand -->
					<div class="logo-brand">
						<a href="<?php echo base_url()?>"><img src="<?php echo base_url()?>/img/sentir-logo-primary.png" alt="Sentir logo"></a>
					</div><!-- /.logo-brand -->
					<!-- End Logo brand -->
					
					<div class="top-nav-content">
						
						<!-- Begin button sidebar left toggle -->
						<div class="btn-collapse-sidebar-left">
							<i class="fa fa-bars"></i>
						</div><!-- /.btn-collapse-sidebar-left -->
						<!-- End button sidebar left toggle -->
						
						<!-- Begin button sidebar right toggle -->
						<div class="btn-collapse-sidebar-right">
							<i class="fa fa-question-circle"></i>
						</div><!-- /.btn-collapse-sidebar-right -->
						<!-- End button sidebar right toggle -->
						
						<!-- Begin button nav toggle -->
						<div class="btn-collapse-nav" data-toggle="collapse" data-target="#main-fixed-nav">
							<i class="fa fa-plus icon-plus"></i>
						</div><!-- /.btn-collapse-sidebar-right -->
						<!-- End button nav toggle -->
						
						
						<!-- Begin user session nav -->
						<ul class="nav-user navbar-right">
							<li class="dropdown">
							  <a href="#fakelink" class="dropdown-toggle" data-toggle="dropdown">								
								
								<strong><?php echo ucwords($nombre);?> </strong> &nbsp;
								<i class="fa fa-user"></i>
							  </a>
							  <ul class="dropdown-menu square primary margin-list-rounded with-triangle">
								<li><a href="#fakelink">Cambiar contraseña</a></li>
								<li><a href="<?php echo base_url()?>index.php/sessiones/cerrar_session">Cerrar sesión</a></li>
							  </ul>
							</li>
						</ul>
						<!-- End user session nav -->
						
						<?php if (isset($inconformidades)) { ?>

						<!-- Begin Collapse menu nav -->
						<div class="collapse navbar-collapse" id="main-fixed-nav">
							<ul class="nav navbar-nav navbar-left">
								<!-- Begin nav friend requuest -->
								<li class="dropdown">
									<a href="#fakelink" class="dropdown-toggle" data-toggle="dropdown">
											
											<?php 
											$notifi=sizeof($inconformidades);
											if ($notifi!=0) {
												echo '<span class="badge badge-danger icon-count">'.$notifi.'</span>';  
											} 			

											?>
										<i class="fa fa-bell"></i>
									</a>
									<ul class="dropdown-menu square margin-list-rounded with-triangle">
										<li>
											<div class="nav-dropdown-heading">
											Inconformidades
											</div><!-- /.nav-dropdown-heading -->
											<div class="nav-dropdown-content scroll-nav-dropdown static-list"> <!- -   static-list ->
												<ul>
														<?php  foreach ($inconformidades as $in) { ?>
														
													<li>
														<div class="row">
															<div class="col-xs32-6">
																<strong><?php echo ucwords($in['nombre'])?></strong>
															</div>
															<div class="col-xs23u-6 text-right btn-action">
																<button class="btn btn-success btn-xs inconformidades" data-id_evaluacion="<?php echo $in['id_evaluacion'];?>" data-tipo="1">Ver</button>
																<button class="btn btn-danger btn-xs inconformidades"  data-id_evaluacion="<?php echo $in['id_evaluacion'];?>" data-tipo="2">Revisar</button>
															</div><!-- /.col-xs-5 text-right btn-cation -->
															<hr>
														</div><!-- /.row -->
													</li>
													<?php }
													if ($notifi==0) {
														echo "No hay inconformidades registradas";
													}

													?> 
								
												</ul>
											</div><!-- /.nav-dropdown-content scroll-nav-dropdown -->
										</li>
									</ul>
								</li>
								<!-- End nav friend requuest -->
							</ul>
						</div><!-- /.navbar-collapse -->
						<!-- End Collapse menu nav -->
						<?php } ?>

					</div><!-- /.top-nav-content -->
				</div><!-- /.top-navbar-inner -->
			</div><!-- /.top-navbar -->
			<!-- END TOP NAV -->
			<script type="text/javascript">
			
				$('.inconformidades').click(function(e) {
					
					var id= $(e.target).data("id_evaluacion")
					var tipo= $(e.target).data("tipo")
					if (tipo==1) {
						location.href=base_url()+"index.php/evaluacion/evaluacion_pdf/"+id;
					} else{
						location.href=base_url()+"index.php/evaluacion/test/"+id+"/1";
					}
					
				});
			</script>
			
			
			<!-- BEGIN SIDEBAR LEFT MENU -->
			<div class="sidebar-left sidebar-nicescroller">
				<ul class="sidebar-menu">			
  	<?php

			foreach($menus as $m){
				if($m['id_padre']=="") {
					$class='';
					$href=base_url().'index.php/'.$m['url_modulo'];
					$imag=$m['img_modulo'];
					$titu='
							<span>'.$m['nombre_modulo'].'</span>';
					$li='';
					$desc=$m['descripcion_modulo'];
					$child='';
					$band=false;
					foreach($menus as $sm){
						$class2='';
						if($sm['dependencia']==$m['id_modulo']) {
							if($menu_actual['id_modulo']==$sm['id_modulo']) {
								$band=true;
								//$class2='class="active"';
							}
							//$class='nav-parent';
						$href='#';
						$li='
							<i class="fa fa-angle-right chevron-icon-sidebar"></i>';
						$child.='
							<li '.$class2.'> <a href="'.base_url().'index.php/'.$sm['url_modulo'].'"><i class="'.$sm['img_modulo'].'"></i> '.$sm['nombre_modulo'].'</a></li>';
						}
					}
					if($menu_actual['id_modulo']==$m['id_modulo'] || $band)
					//	$class=$class.' active';
					if($class!='') 
						$class='class="'.$class.'"';
					if($child!='') 
						$child='
						<ul class="submenu">'.$child.'</ul>';
		?>
					<li<?php echo $class?> title="<?php echo $desc?>">
							<a href="<?php echo $href?>">
							<i class="<?php echo $imag?>"></i> <?php echo $li.$titu?>

							</a>
							<?php echo $child?>
						
						</li>
        <?php
							
				}
			}
		?>					


					
		
				</ul>
			</div><!-- /.sidebar-left -->
			<!-- END SIDEBAR LEFT -->
			
			
			
			<!-- BEGIN SIDEBAR RIGHT HEADING -->
			<div class="sidebar-right-heading">
				<ul class="nav nav-tabs square nav-justified">
				  <li class="active"><a href="#online-user-sidebar" data-toggle="tab"><i class="fa fa-comments"></i></a></li>
				  <li><a href="#notification-sidebar" data-toggle="tab"><i class="fa fa-bell"></i></a></li>
				  <li><a href="#task-sidebar" data-toggle="tab"><i class="fa fa-tasks"></i></a></li>
				  
				</ul>
			</div><!-- /.sidebar-right-heading -->
			<!-- END SIDEBAR RIGHT HEADING -->
			
			
			
			<!-- BEGIN SIDEBAR RIGHT -->
			<div class="sidebar-right right-sidebar-nicescroller">
				<div class="tab-content">
				  <div class="tab-pane fade in active" id="online-user-sidebar">
					<ul class="sidebar-menu online-user">
						<li class="static">Descripción de la pantalla</li>
						
						
						
					</ul>
				  </div>
				  <div class="tab-pane fade" id="notification-sidebar">
					<ul class="sidebar-menu sidebar-task">
						<li class="static">Pasos</li>
						
					</ul>
				  </div>
				  <div class="tab-pane fade" id="task-sidebar">
					<ul class="sidebar-menu sidebar-notification">
						<li class="static">Errores comunes</li>
						

						

					</ul>
				  </div><!-- /#task-sidebar -->
				  
				</div><!-- /.tab-content -->
			</div><!-- /.sidebar-right -->
			<!-- END SIDEBAR RIGHT -->
			
			
			
			<!-- BEGIN PAGE CONTENT -->
			<div class="page-content">

			<!-- BEGIN Notificacion de transacion -->
			<?php if (isset($estado_transaccion)) { 
					if ($estado_transaccion==0) {	$msj="";}
			 ?>
			
			<div class="<?php  echo ($estado_transaccion==1)? 'alert-success': 'alert-danger '; ?> alert-block  alert fade in alert-dismissable">
 								  <button type="button" class="close" data-dismiss="alert" aria-hidden="true" id="cerrar-alerta">×</button>
								  <strong><?php  echo ($estado_transaccion==1)?"Transación completada. ":"Upps!! No se pudo completar la  petición. ";?></strong> <?php echo $msj?>
								 <!-- <a href="#fakelink" class="alert-link">important alert message.</a> -->
			</div>	
			<?php 		}  ?>
			<!-- END Notificacion de transacion -->
				
				<div class="container-fluid">

				<!-- Begin page heading -->
				<h1 class="page-heading"><?php echo $titulo; ?> 
					<br><small><?php echo $descrip; ?> </small></h1>
				<!-- End page heading -->					
					
